<?php
/**
 * @description : setting and const.
 * @author      : stephen.mo <stephen.mo@hotmail.com>
 * @date        : Apr 1,2011
 */

class BasedConfig {
    
    #####CONST SETTING####
    
    
    #####STATIC VARS#####
    //captcha font setting.
    static public $captcha_fonts = array(
        array('Heineken' => array('spacing' => - 2, 'minSize' => 24, 'maxSize' => 34, 'font' => 'Heineken.ttf')),
        array('Duality'  => array('spacing' => - 2, 'minSize' => 30, 'maxSize' => 38, 'font' => 'Duality.ttf')),
        array('MSYahei'  => array('spacing' => - 2, 'minSize' => 30, 'maxSize' => 38, 'font' => 'MSYahei.ttf')),

    );
    
    //captcha image setting.
    static public $captcha_config = array(
        'width'          =>200,//width is 200px
        'height'         =>60,
        'backgroundPoint'=>100,
        'line'           =>0,
        'twist'          =>60,
        'cookie_name'    =>'m_captcha_name',
    );




}

